package com.annchain.og_browser.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OgbBlock {

    private long id;
    private String hash;
    private int height;
    private Integer transactionCount;
    private Date outputTime;
    private String miner;
    private Long nonce;
    private Long mineNonce;
    private Integer committee;
    private BigDecimal transactionAvgCon;
    private String unionSign;
    private String unionSignPublic;
    private String prevHash;
    private String nextHash;
    private String stateRoot;

}
